//package com.bestcem.xm.user.grpc.client;
//
//
//import com.bestcem.bp.xm.user.grpc.v1.services.HealthCheckResponse;
//import com.bestcem.bp.xm.user.grpc.v1.services.UserServiceGrpc;
//import com.bestcem.xm.common.core.constant.GrpcClientNames;
//import com.google.protobuf.Empty;
//import lombok.extern.slf4j.Slf4j;
//import net.devh.boot.grpc.client.inject.GrpcClient;
//import org.springframework.stereotype.Service;
//
///**
// * @author Linzhijian <zhijian.lin@idiaoyan.com>
// * @version v1.0
// * @date 2022/6/8 15:37
// */
//@Slf4j
//@Service
//public class UserUserGrpcClientService {
//
//    @GrpcClient(GrpcClientNames.DS_USER)
//    private UserServiceGrpc.UserServiceBlockingStub stub;
//
//    public String healthCheck() {
//        Empty.Builder request = Empty.newBuilder();
//        HealthCheckResponse response = stub.healthCheck(request.build());
//        return response.getMsg();
//    }
//
//}
